home *** CD-ROM | disk | FTP | other *** search
/ Aminet 32 / Aminet 32 (1999)(Schatztruhe)[!][Aug 1999].iso / Aminet / util / cli / WBLaunch.readme < prev    next >
Encoding:
Text File  |  1999-07-01  |  3.6 KB  |  119 lines

  1. Short:    Simulate WB startup from Shell
  2. Author:   Stephen Williams (sw@nysa.u-net.com)
  3. Uploader: Stephen Williams (sw@nysa.u-net.com)
  4. Version:  1.0
  5. Type:     util/cli
  6. Requires: AmigaOS 3.0+, util/libs/WBStart.lha
  7.  
  8.  
  9. =======================================
  10. WBLaunch 1.0, (c) 1998 Stephen Williams
  11. =======================================
  12.  
  13.  
  14. 1. What is it?
  15. 2. What do I need to use it?
  16. 3. How do I use it?
  17. 4. Acknowledgements
  18. 5. Legal
  19. 6. The author
  20.  
  21.  
  22. 1. What is it?
  23. --------------
  24.  
  25. WBLaunch is a program whose sole aim in life is to launch other
  26. programs from the Shell, simulating Workbench startup.  It does this
  27. with the aid of Stefan Becker's excellent wbstart.library.
  28.  
  29.  
  30. 2. What do I need to use it?
  31. ----------------------------
  32.  
  33. You need AmigaOS release 3.0 or above.  wbstart.library requires this
  34. OS, so I made WBLaunch check for release 3.0 and refuse to start if it
  35. isn't present.  You will also need wbstart.library release 2.0 or
  36. greater, a copy of which can be got from Aminet (util/libs/WBStart.lha).
  37.  
  38.  
  39. 3. How do I use it?
  40. -------------------
  41.  
  42. Copy WBLaunch into your C directory.  If your dearchiver junked the
  43. protection bits, then do
  44.   protect c:WBLaunch prwed
  45.  
  46. WBLaunch may, of course, be used only from the Shell ;-)
  47.  
  48. WBLaunch expects arguments according to the following template:
  49.   PROGRAM/A,ARGS/M,VERBOSE/S,PRI=PRIORITY/N/K
  50.  
  51. PROGRAM is the name of the program you want to launch.  WBLaunch will
  52. search your path for this; alternatively, you may specify a full
  53. pathname.  For example:
  54.   WBLaunch sys:Utilities/Clock
  55.   WBLaunch Clock
  56.  
  57. ARGS are the arguments you want to pass.  From Workbench, you'd do
  58. this by holding SHIFT and clicking in turn on the icons of the files
  59. you want to pass as arguments.  WBLaunch will attempt to Lock() each
  60. of the arguments you pass, and will only pass on arguments which can
  61. be successfully Lock()ed.
  62.  
  63. If you specify the VERBOSE switch, WBLaunch will tell you the full
  64. path of the program which it has launched, and the arguments which
  65. have been specified.
  66.  
  67. The PRI argument may be used to specify a priority for the process to
  68. be started, for example
  69.   WBLaunch CPUThrasher pri=-10
  70.  
  71. Once the Workbench process has been started, WBLaunch will return -
  72. there's no need to run it in the background.
  73.  
  74. I recommend that you place a line like this in your User-Startup:
  75.   Resident name=WB c:WBLaunch
  76. If you do this, you can simulate starting a program from Workbench
  77. simply by prefixing its name with "wb".
  78.  
  79. Don't use WBLaunch to start Format or DiskCopy.  On my machine, it
  80. barfs.  I haven't got a clue why.  Mind you, I haven't got a clue
  81. why you'd want to use WBLaunch to start Format or DiskCopy in the
  82. first place ;-)
  83.  
  84.  
  85. 4. Acknowledgements
  86. -------------------
  87.  
  88. wbstart.library is (c) 1991-1996 by Stefan Becker.
  89.  
  90.  
  91. 5. Legal
  92. --------
  93.  
  94. WBLaunch is (c) 1998 Stephen Williams, and released as freeware.  It
  95. may be uploaded to FTP sites and bulletin boards.  It may be
  96. distributed by PD houses, provided the only charge made is for
  97. distribution.  It may be distributed on magazine cover disks and CDs.
  98. No profit may be made from WBLaunch.  It is not in the public domain
  99. and may not be altered in any way.
  100.  
  101.  
  102. 6.  The author
  103. --------------
  104.  
  105. Stephen Williams, sw@nysa.u-net.com, http://www.nysa.u-net.com/
  106.  
  107. Check out http://www.nysa.u-net.com/software/ for other programs
  108. by me.
  109.  
  110.  
  111. ============================= Archive contents =============================
  112.  
  113. Original  Packed Ratio    Date     Time    Name
  114. -------- ------- ----- --------- --------  -------------
  115.     2316    1534 33.7% 09-Jul-98 15:23:48  WBLaunch
  116.     3320    1470 55.7% 10-Jul-98 12:12:12  WBLaunch.readme
  117. -------- ------- ----- --------- --------
  118.     5636    3004 46.6% 31-May-99 20:29:28   2 files
  119.